package cn.wp.common.core.plugin.scheduler;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 定时器配置
 * Created by chenyb on 2019/09/30
 */
@ConfigurationProperties("wp.common.scheduler")
@Component
@Data
public class SchedulerProperties {

    private boolean enabled;

    private int poolSize;

}
